<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GtkToolItemGroup</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="index.html" title="GTK+ 3 参考手册">
<link rel="up" href="MenusAndCombos.html" title="菜单、组合框和工具栏">
<link rel="prev" href="gtk3-GtkToolPalette.html" title="GtkToolPalette">
<link rel="next" href="gtk3-GtkSeparatorToolItem.html" title="GtkSeparatorToolItem">
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="gtk3-GtkToolPalette.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="MenusAndCombos.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">GTK+ 3 参考手册</th>
<td><a accesskey="n" href="gtk3-GtkSeparatorToolItem.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#gtk3-GtkToolItemGroup.synopsis" class="shortcut">Top</a>
                   | 
                  <a href="#gtk3-GtkToolItemGroup.description" class="shortcut">Description</a>
</td></tr>
</table>
<div class="refentry">
<a name="gtk3-GtkToolItemGroup"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="gtk3-GtkToolItemGroup.top_of_page"></a>GtkToolItemGroup</span></h2>
<p>GtkToolItemGroup — A sub container used in a tool palette</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="gtk3-GtkToolItemGroup.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
#include &lt;gtk/gtk.h&gt;

struct              <a class="link" href="gtk3-GtkToolItemGroup.html#GtkToolItemGroup" title="struct GtkToolItemGroup">GtkToolItemGroup</a>;
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="gtk3-GtkToolItemGroup.html#gtk-tool-item-group-get-collapsed" title="gtk_tool_item_group_get_collapsed ()">gtk_tool_item_group_get_collapsed</a>   (<em class="parameter"><code><a class="link" href="gtk3-GtkToolItemGroup.html#GtkToolItemGroup" title="struct GtkToolItemGroup"><span class="type">GtkToolItemGroup</span></a> *group</code></em>);
<a class="link" href="gtk3-GtkToolItem.html#GtkToolItem" title="struct GtkToolItem"><span class="returnvalue">GtkToolItem</span></a> *       <a class="link" href="gtk3-GtkToolItemGroup.html#gtk-tool-item-group-get-drop-item" title="gtk_tool_item_group_get_drop_item ()">gtk_tool_item_group_get_drop_item</a>   (<em class="parameter"><code><a class="link" href="gtk3-GtkToolItemGroup.html#GtkToolItemGroup" title="struct GtkToolItemGroup"><span class="type">GtkToolItemGroup</span></a> *group</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>);
<a href="../pango/pango-Layout-Objects.html#PangoEllipsizeMode"><span class="returnvalue">PangoEllipsizeMode</span></a>  <a class="link" href="gtk3-GtkToolItemGroup.html#gtk-tool-item-group-get-ellipsize" title="gtk_tool_item_group_get_ellipsize ()">gtk_tool_item_group_get_ellipsize</a>   (<em class="parameter"><code><a class="link" href="gtk3-GtkToolItemGroup.html#GtkToolItemGroup" title="struct GtkToolItemGroup"><span class="type">GtkToolItemGroup</span></a> *group</code></em>);
<a href="../glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>                <a class="link" href="gtk3-GtkToolItemGroup.html#gtk-tool-item-group-get-item-position" title="gtk_tool_item_group_get_item_position ()">gtk_tool_item_group_get_item_position</a>
                                                        (<em class="parameter"><code><a class="link" href="gtk3-GtkToolItemGroup.html#GtkToolItemGroup" title="struct GtkToolItemGroup"><span class="type">GtkToolItemGroup</span></a> *group</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gtk3-GtkToolItem.html#GtkToolItem" title="struct GtkToolItem"><span class="type">GtkToolItem</span></a> *item</code></em>);
<a href="../glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>               <a class="link" href="gtk3-GtkToolItemGroup.html#gtk-tool-item-group-get-n-items" title="gtk_tool_item_group_get_n_items ()">gtk_tool_item_group_get_n_items</a>     (<em class="parameter"><code><a class="link" href="gtk3-GtkToolItemGroup.html#GtkToolItemGroup" title="struct GtkToolItemGroup"><span class="type">GtkToolItemGroup</span></a> *group</code></em>);
const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       <a class="link" href="gtk3-GtkToolItemGroup.html#gtk-tool-item-group-get-label" title="gtk_tool_item_group_get_label ()">gtk_tool_item_group_get_label</a>       (<em class="parameter"><code><a class="link" href="gtk3-GtkToolItemGroup.html#GtkToolItemGroup" title="struct GtkToolItemGroup"><span class="type">GtkToolItemGroup</span></a> *group</code></em>);
<a class="link" href="gtk3-GtkWidget.html#GtkWidget" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *         <a class="link" href="gtk3-GtkToolItemGroup.html#gtk-tool-item-group-get-label-widget" title="gtk_tool_item_group_get_label_widget ()">gtk_tool_item_group_get_label_widget</a>
                                                        (<em class="parameter"><code><a class="link" href="gtk3-GtkToolItemGroup.html#GtkToolItemGroup" title="struct GtkToolItemGroup"><span class="type">GtkToolItemGroup</span></a> *group</code></em>);
<a class="link" href="gtk3-GtkToolItem.html#GtkToolItem" title="struct GtkToolItem"><span class="returnvalue">GtkToolItem</span></a> *       <a class="link" href="gtk3-GtkToolItemGroup.html#gtk-tool-item-group-get-nth-item" title="gtk_tool_item_group_get_nth_item ()">gtk_tool_item_group_get_nth_item</a>    (<em class="parameter"><code><a class="link" href="gtk3-GtkToolItemGroup.html#GtkToolItemGroup" title="struct GtkToolItemGroup"><span class="type">GtkToolItemGroup</span></a> *group</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> index</code></em>);
<a class="link" href="gtk3-Standard-Enumerations.html#GtkReliefStyle" title="enum GtkReliefStyle"><span class="returnvalue">GtkReliefStyle</span></a>      <a class="link" href="gtk3-GtkToolItemGroup.html#gtk-tool-item-group-get-header-relief" title="gtk_tool_item_group_get_header_relief ()">gtk_tool_item_group_get_header_relief</a>
                                                        (<em class="parameter"><code><a class="link" href="gtk3-GtkToolItemGroup.html#GtkToolItemGroup" title="struct GtkToolItemGroup"><span class="type">GtkToolItemGroup</span></a> *group</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="gtk3-GtkToolItemGroup.html#gtk-tool-item-group-insert" title="gtk_tool_item_group_insert ()">gtk_tool_item_group_insert</a>          (<em class="parameter"><code><a class="link" href="gtk3-GtkToolItemGroup.html#GtkToolItemGroup" title="struct GtkToolItemGroup"><span class="type">GtkToolItemGroup</span></a> *group</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gtk3-GtkToolItem.html#GtkToolItem" title="struct GtkToolItem"><span class="type">GtkToolItem</span></a> *item</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> position</code></em>);
<a class="link" href="gtk3-GtkWidget.html#GtkWidget" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *         <a class="link" href="gtk3-GtkToolItemGroup.html#gtk-tool-item-group-new" title="gtk_tool_item_group_new ()">gtk_tool_item_group_new</a>             (<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *label</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="gtk3-GtkToolItemGroup.html#gtk-tool-item-group-set-collapsed" title="gtk_tool_item_group_set_collapsed ()">gtk_tool_item_group_set_collapsed</a>   (<em class="parameter"><code><a class="link" href="gtk3-GtkToolItemGroup.html#GtkToolItemGroup" title="struct GtkToolItemGroup"><span class="type">GtkToolItemGroup</span></a> *group</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> collapsed</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="gtk3-GtkToolItemGroup.html#gtk-tool-item-group-set-ellipsize" title="gtk_tool_item_group_set_ellipsize ()">gtk_tool_item_group_set_ellipsize</a>   (<em class="parameter"><code><a class="link" href="gtk3-GtkToolItemGroup.html#GtkToolItemGroup" title="struct GtkToolItemGroup"><span class="type">GtkToolItemGroup</span></a> *group</code></em>,
                                                         <em class="parameter"><code><a href="../pango/pango-Layout-Objects.html#PangoEllipsizeMode"><span class="type">PangoEllipsizeMode</span></a> ellipsize</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="gtk3-GtkToolItemGroup.html#gtk-tool-item-group-set-item-position" title="gtk_tool_item_group_set_item_position ()">gtk_tool_item_group_set_item_position</a>
                                                        (<em class="parameter"><code><a class="link" href="gtk3-GtkToolItemGroup.html#GtkToolItemGroup" title="struct GtkToolItemGroup"><span class="type">GtkToolItemGroup</span></a> *group</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gtk3-GtkToolItem.html#GtkToolItem" title="struct GtkToolItem"><span class="type">GtkToolItem</span></a> *item</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> position</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="gtk3-GtkToolItemGroup.html#gtk-tool-item-group-set-label" title="gtk_tool_item_group_set_label ()">gtk_tool_item_group_set_label</a>       (<em class="parameter"><code><a class="link" href="gtk3-GtkToolItemGroup.html#GtkToolItemGroup" title="struct GtkToolItemGroup"><span class="type">GtkToolItemGroup</span></a> *group</code></em>,
                                                         <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *label</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="gtk3-GtkToolItemGroup.html#gtk-tool-item-group-set-label-widget" title="gtk_tool_item_group_set_label_widget ()">gtk_tool_item_group_set_label_widget</a>
                                                        (<em class="parameter"><code><a class="link" href="gtk3-GtkToolItemGroup.html#GtkToolItemGroup" title="struct GtkToolItemGroup"><span class="type">GtkToolItemGroup</span></a> *group</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gtk3-GtkWidget.html#GtkWidget" title="GtkWidget"><span class="type">GtkWidget</span></a> *label_widget</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="gtk3-GtkToolItemGroup.html#gtk-tool-item-group-set-header-relief" title="gtk_tool_item_group_set_header_relief ()">gtk_tool_item_group_set_header_relief</a>
                                                        (<em class="parameter"><code><a class="link" href="gtk3-GtkToolItemGroup.html#GtkToolItemGroup" title="struct GtkToolItemGroup"><span class="type">GtkToolItemGroup</span></a> *group</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gtk3-Standard-Enumerations.html#GtkReliefStyle" title="enum GtkReliefStyle"><span class="type">GtkReliefStyle</span></a> style</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="gtk3-GtkToolItemGroup.description"></a><h2>Description</h2>
<p>
A <a class="link" href="gtk3-GtkToolItemGroup.html#GtkToolItemGroup" title="struct GtkToolItemGroup"><span class="type">GtkToolItemGroup</span></a> is used together with <a class="link" href="gtk3-GtkToolPalette.html#GtkToolPalette" title="struct GtkToolPalette"><span class="type">GtkToolPalette</span></a> to add
<a class="link" href="gtk3-GtkToolItem.html#GtkToolItem" title="struct GtkToolItem"><span class="type">GtkToolItem</span></a>s to a palette like container with different
categories and drag and drop support.
</p>
</div>
<div class="refsect1">
<a name="gtk3-GtkToolItemGroup.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="GtkToolItemGroup"></a><h3>struct GtkToolItemGroup</h3>
<pre class="programlisting">struct GtkToolItemGroup {
  GtkContainer parent_instance;
  GtkToolItemGroupPrivate *priv;
};
</pre>
<p>
This should not be accessed directly. Use the accessor functions below.
</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tool-item-group-get-collapsed"></a><h3>gtk_tool_item_group_get_collapsed ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gtk_tool_item_group_get_collapsed   (<em class="parameter"><code><a class="link" href="gtk3-GtkToolItemGroup.html#GtkToolItemGroup" title="struct GtkToolItemGroup"><span class="type">GtkToolItemGroup</span></a> *group</code></em>);</pre>
<p>
Gets whether <em class="parameter"><code>group</code></em> is collapsed or expanded.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>group</code></em> :</span></p></td>
<td>a GtkToolItemGroup</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>group</code></em> is collapsed, <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if it is expanded</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.20</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tool-item-group-get-drop-item"></a><h3>gtk_tool_item_group_get_drop_item ()</h3>
<pre class="programlisting"><a class="link" href="gtk3-GtkToolItem.html#GtkToolItem" title="struct GtkToolItem"><span class="returnvalue">GtkToolItem</span></a> *       gtk_tool_item_group_get_drop_item   (<em class="parameter"><code><a class="link" href="gtk3-GtkToolItemGroup.html#GtkToolItemGroup" title="struct GtkToolItemGroup"><span class="type">GtkToolItemGroup</span></a> *group</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>);</pre>
<p>
Gets the tool item at position (x, y).
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>group</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkToolItemGroup.html#GtkToolItemGroup" title="struct GtkToolItemGroup"><span class="type">GtkToolItemGroup</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
<td>the x position</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
<td>the y position</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the <a class="link" href="gtk3-GtkToolItem.html#GtkToolItem" title="struct GtkToolItem"><span class="type">GtkToolItem</span></a> at position (x, y). <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.20</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tool-item-group-get-ellipsize"></a><h3>gtk_tool_item_group_get_ellipsize ()</h3>
<pre class="programlisting"><a href="../pango/pango-Layout-Objects.html#PangoEllipsizeMode"><span class="returnvalue">PangoEllipsizeMode</span></a>  gtk_tool_item_group_get_ellipsize   (<em class="parameter"><code><a class="link" href="gtk3-GtkToolItemGroup.html#GtkToolItemGroup" title="struct GtkToolItemGroup"><span class="type">GtkToolItemGroup</span></a> *group</code></em>);</pre>
<p>
Gets the ellipsization mode of <em class="parameter"><code>group</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>group</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkToolItemGroup.html#GtkToolItemGroup" title="struct GtkToolItemGroup"><span class="type">GtkToolItemGroup</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the <a href="../pango/pango-Layout-Objects.html#PangoEllipsizeMode"><span class="type">PangoEllipsizeMode</span></a> of <em class="parameter"><code>group</code></em>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.20</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tool-item-group-get-item-position"></a><h3>gtk_tool_item_group_get_item_position ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>                gtk_tool_item_group_get_item_position
                                                        (<em class="parameter"><code><a class="link" href="gtk3-GtkToolItemGroup.html#GtkToolItemGroup" title="struct GtkToolItemGroup"><span class="type">GtkToolItemGroup</span></a> *group</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gtk3-GtkToolItem.html#GtkToolItem" title="struct GtkToolItem"><span class="type">GtkToolItem</span></a> *item</code></em>);</pre>
<p>
Gets the position of <em class="parameter"><code>item</code></em> in <em class="parameter"><code>group</code></em> as index.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>group</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkToolItemGroup.html#GtkToolItemGroup" title="struct GtkToolItemGroup"><span class="type">GtkToolItemGroup</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkToolItem.html#GtkToolItem" title="struct GtkToolItem"><span class="type">GtkToolItem</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the index of <em class="parameter"><code>item</code></em> in <em class="parameter"><code>group</code></em> or -1 if <em class="parameter"><code>item</code></em> is no child of <em class="parameter"><code>group</code></em>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.20</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tool-item-group-get-n-items"></a><h3>gtk_tool_item_group_get_n_items ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>               gtk_tool_item_group_get_n_items     (<em class="parameter"><code><a class="link" href="gtk3-GtkToolItemGroup.html#GtkToolItemGroup" title="struct GtkToolItemGroup"><span class="type">GtkToolItemGroup</span></a> *group</code></em>);</pre>
<p>
Gets the number of tool items in <em class="parameter"><code>group</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>group</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkToolItemGroup.html#GtkToolItemGroup" title="struct GtkToolItemGroup"><span class="type">GtkToolItemGroup</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the number of tool items in <em class="parameter"><code>group</code></em>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.20</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tool-item-group-get-label"></a><h3>gtk_tool_item_group_get_label ()</h3>
<pre class="programlisting">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       gtk_tool_item_group_get_label       (<em class="parameter"><code><a class="link" href="gtk3-GtkToolItemGroup.html#GtkToolItemGroup" title="struct GtkToolItemGroup"><span class="type">GtkToolItemGroup</span></a> *group</code></em>);</pre>
<p>
Gets the label of <em class="parameter"><code>group</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>group</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkToolItemGroup.html#GtkToolItemGroup" title="struct GtkToolItemGroup"><span class="type">GtkToolItemGroup</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the label of <em class="parameter"><code>group</code></em>. The label is an internal string of <em class="parameter"><code>group</code></em>
and must not be modified. Note that <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is returned if a custom
label has been set with <a class="link" href="gtk3-GtkToolItemGroup.html#gtk-tool-item-group-set-label-widget" title="gtk_tool_item_group_set_label_widget ()"><code class="function">gtk_tool_item_group_set_label_widget()</code></a>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.20</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tool-item-group-get-label-widget"></a><h3>gtk_tool_item_group_get_label_widget ()</h3>
<pre class="programlisting"><a class="link" href="gtk3-GtkWidget.html#GtkWidget" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *         gtk_tool_item_group_get_label_widget
                                                        (<em class="parameter"><code><a class="link" href="gtk3-GtkToolItemGroup.html#GtkToolItemGroup" title="struct GtkToolItemGroup"><span class="type">GtkToolItemGroup</span></a> *group</code></em>);</pre>
<p>
Gets the label widget of <em class="parameter"><code>group</code></em>.
See <a class="link" href="gtk3-GtkToolItemGroup.html#gtk-tool-item-group-set-label-widget" title="gtk_tool_item_group_set_label_widget ()"><code class="function">gtk_tool_item_group_set_label_widget()</code></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>group</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkToolItemGroup.html#GtkToolItemGroup" title="struct GtkToolItemGroup"><span class="type">GtkToolItemGroup</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the label widget of <em class="parameter"><code>group</code></em>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.20</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tool-item-group-get-nth-item"></a><h3>gtk_tool_item_group_get_nth_item ()</h3>
<pre class="programlisting"><a class="link" href="gtk3-GtkToolItem.html#GtkToolItem" title="struct GtkToolItem"><span class="returnvalue">GtkToolItem</span></a> *       gtk_tool_item_group_get_nth_item    (<em class="parameter"><code><a class="link" href="gtk3-GtkToolItemGroup.html#GtkToolItemGroup" title="struct GtkToolItemGroup"><span class="type">GtkToolItemGroup</span></a> *group</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> index</code></em>);</pre>
<p>
Gets the tool item at <em class="parameter"><code>index</code></em> in group.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>group</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkToolItemGroup.html#GtkToolItemGroup" title="struct GtkToolItemGroup"><span class="type">GtkToolItemGroup</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>index</code></em> :</span></p></td>
<td>the index</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the <a class="link" href="gtk3-GtkToolItem.html#GtkToolItem" title="struct GtkToolItem"><span class="type">GtkToolItem</span></a> at index. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.20</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tool-item-group-get-header-relief"></a><h3>gtk_tool_item_group_get_header_relief ()</h3>
<pre class="programlisting"><a class="link" href="gtk3-Standard-Enumerations.html#GtkReliefStyle" title="enum GtkReliefStyle"><span class="returnvalue">GtkReliefStyle</span></a>      gtk_tool_item_group_get_header_relief
                                                        (<em class="parameter"><code><a class="link" href="gtk3-GtkToolItemGroup.html#GtkToolItemGroup" title="struct GtkToolItemGroup"><span class="type">GtkToolItemGroup</span></a> *group</code></em>);</pre>
<p>
Gets the relief mode of the header button of <em class="parameter"><code>group</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>group</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkToolItemGroup.html#GtkToolItemGroup" title="struct GtkToolItemGroup"><span class="type">GtkToolItemGroup</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the <a class="link" href="gtk3-Standard-Enumerations.html#GtkReliefStyle" title="enum GtkReliefStyle"><span class="type">GtkReliefStyle</span></a>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.20</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tool-item-group-insert"></a><h3>gtk_tool_item_group_insert ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_tool_item_group_insert          (<em class="parameter"><code><a class="link" href="gtk3-GtkToolItemGroup.html#GtkToolItemGroup" title="struct GtkToolItemGroup"><span class="type">GtkToolItemGroup</span></a> *group</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gtk3-GtkToolItem.html#GtkToolItem" title="struct GtkToolItem"><span class="type">GtkToolItem</span></a> *item</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> position</code></em>);</pre>
<p>
Inserts <em class="parameter"><code>item</code></em> at <em class="parameter"><code>position</code></em> in the list of children of <em class="parameter"><code>group</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>group</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkToolItemGroup.html#GtkToolItemGroup" title="struct GtkToolItemGroup"><span class="type">GtkToolItemGroup</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
<td>the <a class="link" href="gtk3-GtkToolItem.html#GtkToolItem" title="struct GtkToolItem"><span class="type">GtkToolItem</span></a> to insert into <em class="parameter"><code>group</code></em>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>position</code></em> :</span></p></td>
<td>the position of <em class="parameter"><code>item</code></em> in <em class="parameter"><code>group</code></em>, starting with 0.
The position -1 means end of list.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.20</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tool-item-group-new"></a><h3>gtk_tool_item_group_new ()</h3>
<pre class="programlisting"><a class="link" href="gtk3-GtkWidget.html#GtkWidget" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *         gtk_tool_item_group_new             (<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *label</code></em>);</pre>
<p>
Creates a new tool item group with label <em class="parameter"><code>label</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>label</code></em> :</span></p></td>
<td>the label of the new group</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a new <a class="link" href="gtk3-GtkToolItemGroup.html#GtkToolItemGroup" title="struct GtkToolItemGroup"><span class="type">GtkToolItemGroup</span></a>.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.20</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tool-item-group-set-collapsed"></a><h3>gtk_tool_item_group_set_collapsed ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_tool_item_group_set_collapsed   (<em class="parameter"><code><a class="link" href="gtk3-GtkToolItemGroup.html#GtkToolItemGroup" title="struct GtkToolItemGroup"><span class="type">GtkToolItemGroup</span></a> *group</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> collapsed</code></em>);</pre>
<p>
Sets whether the <em class="parameter"><code>group</code></em> should be collapsed or expanded.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>group</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkToolItemGroup.html#GtkToolItemGroup" title="struct GtkToolItemGroup"><span class="type">GtkToolItemGroup</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>collapsed</code></em> :</span></p></td>
<td>whether the <em class="parameter"><code>group</code></em> should be collapsed or expanded</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.20</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tool-item-group-set-ellipsize"></a><h3>gtk_tool_item_group_set_ellipsize ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_tool_item_group_set_ellipsize   (<em class="parameter"><code><a class="link" href="gtk3-GtkToolItemGroup.html#GtkToolItemGroup" title="struct GtkToolItemGroup"><span class="type">GtkToolItemGroup</span></a> *group</code></em>,
                                                         <em class="parameter"><code><a href="../pango/pango-Layout-Objects.html#PangoEllipsizeMode"><span class="type">PangoEllipsizeMode</span></a> ellipsize</code></em>);</pre>
<p>
Sets the ellipsization mode which should be used by labels in <em class="parameter"><code>group</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>group</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkToolItemGroup.html#GtkToolItemGroup" title="struct GtkToolItemGroup"><span class="type">GtkToolItemGroup</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>ellipsize</code></em> :</span></p></td>
<td>the <a href="../pango/pango-Layout-Objects.html#PangoEllipsizeMode"><span class="type">PangoEllipsizeMode</span></a> labels in <em class="parameter"><code>group</code></em> should use</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.20</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tool-item-group-set-item-position"></a><h3>gtk_tool_item_group_set_item_position ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_tool_item_group_set_item_position
                                                        (<em class="parameter"><code><a class="link" href="gtk3-GtkToolItemGroup.html#GtkToolItemGroup" title="struct GtkToolItemGroup"><span class="type">GtkToolItemGroup</span></a> *group</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gtk3-GtkToolItem.html#GtkToolItem" title="struct GtkToolItem"><span class="type">GtkToolItem</span></a> *item</code></em>,
                                                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> position</code></em>);</pre>
<p>
Sets the position of <em class="parameter"><code>item</code></em> in the list of children of <em class="parameter"><code>group</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>group</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkToolItemGroup.html#GtkToolItemGroup" title="struct GtkToolItemGroup"><span class="type">GtkToolItemGroup</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>item</code></em> :</span></p></td>
<td>the <a class="link" href="gtk3-GtkToolItem.html#GtkToolItem" title="struct GtkToolItem"><span class="type">GtkToolItem</span></a> to move to a new position, should
be a child of <em class="parameter"><code>group</code></em>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>position</code></em> :</span></p></td>
<td>the new position of <em class="parameter"><code>item</code></em> in <em class="parameter"><code>group</code></em>, starting with 0.
The position -1 means end of list.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.20</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tool-item-group-set-label"></a><h3>gtk_tool_item_group_set_label ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_tool_item_group_set_label       (<em class="parameter"><code><a class="link" href="gtk3-GtkToolItemGroup.html#GtkToolItemGroup" title="struct GtkToolItemGroup"><span class="type">GtkToolItemGroup</span></a> *group</code></em>,
                                                         <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *label</code></em>);</pre>
<p>
Sets the label of the tool item group. The label is displayed in the header
of the group.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>group</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkToolItemGroup.html#GtkToolItemGroup" title="struct GtkToolItemGroup"><span class="type">GtkToolItemGroup</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>label</code></em> :</span></p></td>
<td>the new human-readable label of of the group</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.20</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tool-item-group-set-label-widget"></a><h3>gtk_tool_item_group_set_label_widget ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_tool_item_group_set_label_widget
                                                        (<em class="parameter"><code><a class="link" href="gtk3-GtkToolItemGroup.html#GtkToolItemGroup" title="struct GtkToolItemGroup"><span class="type">GtkToolItemGroup</span></a> *group</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gtk3-GtkWidget.html#GtkWidget" title="GtkWidget"><span class="type">GtkWidget</span></a> *label_widget</code></em>);</pre>
<p>
Sets the label of the tool item group.
The label widget is displayed in the header of the group, in place
of the usual label.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>group</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkToolItemGroup.html#GtkToolItemGroup" title="struct GtkToolItemGroup"><span class="type">GtkToolItemGroup</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>label_widget</code></em> :</span></p></td>
<td>the widget to be displayed in place of the usual label</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.20</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tool-item-group-set-header-relief"></a><h3>gtk_tool_item_group_set_header_relief ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_tool_item_group_set_header_relief
                                                        (<em class="parameter"><code><a class="link" href="gtk3-GtkToolItemGroup.html#GtkToolItemGroup" title="struct GtkToolItemGroup"><span class="type">GtkToolItemGroup</span></a> *group</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gtk3-Standard-Enumerations.html#GtkReliefStyle" title="enum GtkReliefStyle"><span class="type">GtkReliefStyle</span></a> style</code></em>);</pre>
<p>
Set the button relief of the group header.
See <a class="link" href="gtk3-GtkButton.html#gtk-button-set-relief" title="gtk_button_set_relief ()"><code class="function">gtk_button_set_relief()</code></a> for details.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>group</code></em> :</span></p></td>
<td>a <a class="link" href="gtk3-GtkToolItemGroup.html#GtkToolItemGroup" title="struct GtkToolItemGroup"><span class="type">GtkToolItemGroup</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>style</code></em> :</span></p></td>
<td>the <a class="link" href="gtk3-Standard-Enumerations.html#GtkReliefStyle" title="enum GtkReliefStyle"><span class="type">GtkReliefStyle</span></a>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.20</p>
</div>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.18</div>
</body>
</html>